package com.moneywelcome.orderassembly.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户每日盈亏表
 * </p>
 *
 * @author alice
 * @since 2022-01-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ProfitDay implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "profit_id", type = IdType.AUTO)
    private Integer profitId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 持仓id
     */
    private Long financialId;

    /**
     * 盈亏记录时间
     */
    private String profitTime;

    /**
     * 每日盈亏额
     */
    private Double currentProfit;

    /**
     * 订单状态;0:未完成,1:已完成
     */
    private Integer buyRecordStatus;

    /**
     * 记录新增时间
     */
    private String rawAddTime;

    /**
     * 更新时间
     */
    private String rawUpdateTime;


}
